Removing duplicates from a list variable

I have a requirement - From an Enterprise list variable or Ushur list variable, we need to remove duplicates. Looking for a regex which can do the job easily.
e.g.
Input list variable - Mr Arun Ashokan,Mr Adarsh Singh,Mr Dhiren Singh,Mr Arun Ashokan,Mr Adarsh Singh
Expected output - Mr Arun Ashokan,Mr Adarsh Singh,Mr Dhiren Singh
I have tried the regex (\w+\b)(?!.*\1) but the Ouput was - Mr,Arun,Ashokan,Adarsh,Singh,Dhiren

Hi @arun.ashokan - did you ever find a solution to this? If yes what was it? If not, I’ll do some hunting to see if I can help find you the answer to this!